package com.sq.partner.manager.dao;

import java.util.List;

import com.sq.partner.manager.mybatis.model.GatewayChannelApp;

/**
 * 合作伙伴和应用多对多关系
 * 
 * @author zizhouGuo
 *
 */
public interface IGatewayChannelAppDao extends BaseDao {
	
	public GatewayChannelApp queryChannelAppInfoByCodeAndId(GatewayChannelApp gca) throws Exception;
	
	public boolean add(GatewayChannelApp gca) throws Exception;

	public boolean update(GatewayChannelApp gca) throws Exception;

	public boolean delete(GatewayChannelApp gca) throws Exception;
	
	public boolean deleteByChannelCode(GatewayChannelApp gca) throws Exception;
	
	public List<GatewayChannelApp> queryChannelAppInfoListByChannelCode(String channelCode) throws Exception;
}
